@import 'variables.less';
@import 'includes/editor-tools.less';
@import 'includes/search-result.less';
@import 'includes/mixins.less';
@import 'includes/topic-list.less';

h1 {
  font-size: 46px;
  margin-top: 0;
}

h2 {
  font-size: 28px;
}

.product-list {
  a,
  a:visited {
    color: @textGrey;
    display: block;
    min-height: 96px;
  }

  .product {
    background: #fff;
    margin: 0 30px 30px 0;
    padding: 20px 30px;
  }

  // product images are 484 x 244
  .logo-sprite {
    float: left;
    height: auto;
    width: 170px;
  }

  .title-description-wrapper {
      margin-left: 180px;
  }

  .title {
    display: block;
    font-family: @OpenSansLight;
    font-size: 22px;
    letter-spacing: -1px;
    line-height: 22px;
    margin-bottom: 12px;
  }

  .description {
    display: block;
  }

  .no-image {
    .title,
    .description {
      margin-left: 0;
    }
  }
}

.answers {
  .attachments-title {
    border-bottom: 1px solid @textDarkGrey;
    font-weight: bold;
    margin: 20px 0 10px;
    padding: 10px 0;
  }

  .question-attachments {
    .attachment {
      display: inline-block;
      position: relative;

      .overlay {
        background: #ccc url('../img/wait-trans.gif') no-repeat center;
        bottom: 5px;
        left: 5px;
        opacity: .5;
        position: absolute;
        right: 5px;
        top: 5px;
      }

      img {
        background: url('../img/wait-trans.gif') no-repeat center;
        border: 1px solid #ccc;
        margin: 5px;
        text-align: center;
        vertical-align: top;
      }

      input.delete {
        background: #000;
        border: 2px solid #fff;
        border-radius: 1em;
        color: #fff;
        cursor: pointer;
        display: none;
        font-family: Verdana;
        font-weight: bold;
        opacity: .5;
        padding: 0 .2em;
        position: absolute;
        right: 10px;
        top: 10px;

        &:hover {
          opacity: 1;
        }
      }

      &:hover input.delete {
        display: block;
      }
    }

    img {
      max-height: 120px;
      max-width: 120px;
    }
  }

  .answer {
    &.marked-as-spam {
      .main-content {
        color: @textOrange;
      }
    }
  }

  .answer-tools {
    margin: 0 0 20px 130px;
    padding: 0 20px;

    > a {
      float: right;
      margin: 1px 0;
    }

    > form {
      float: left;
      text-transform: uppercase;

      .btn {
        text-transform: none;
      }
    }
  }

  .avatar {
    margin-bottom: 10px;

    img {
      border: 6px solid #fff;
    }
  }

  .helpful-count {
    &:before {
      content: '\2665';
      font-size: 20px;
      margin-right: 2px;
    }
  }

  .is-helpful,
  .is-spam {
    color: @textOrange;
  }

  .is-owner {
    color: @textBlue;
  }

  .is-solution {
    color: @textGreen;
  }

  .spam-form,
  .screen-share-form {
    .btn {
      float: right;
      margin-bottom: 10px;
    }
  }

  .taken-notice {
    background: #fff;
    border-left: 3px @textDarkOrange solid;
    line-height: 40px;
    margin: -15px 0 30px 0;
    padding: 0 10px;
  }

  .main-content {
    background: #fff;
    margin: 0 0 20px 130px;
    padding: 20px 0;
    position: relative;

    &:before {
      border-color: transparent #fff;
      border-style: solid;
      border-width: 11px 11px 11px 0;
      height: 0;
      content: '';
      left: -11px;
      position: absolute;
      top: 20px;
      width: 0;
    }

    h3 {
      margin-top: 0;
    }

    > label {
      display: block;
      margin-top: 12px;
    }

    .content {
      > p {
        white-space: pre-wrap;
      }

      blockquote {
        background: rgba(180, 192, 200, 0.4);
        border-radius: 0.3em;
        margin: 1.5em 0em;
        padding: 1em;
      }
    }

    .read-more {
      margin-right: 30px;
    }

    .solution {
      border-top: 1px dotted @borderLightGrey;
      margin-top: 30px;
      padding-top: 30px;
    }

    .solution {
      h3 {
        color: @textGreen;
        display: inline;
      }
    }
  }

  .notice {
    background: url('../img/warning-stripes.png') top left repeat-x #ffe;
    border: 1px solid #fffbe7;
    margin: 0 0 20px 0;
    padding: 20px 30px;
  }

  .question-meta {
    font-size: 12px;
    margin-bottom: 20px;
    text-transform: uppercase;

    ul {
      list-style: none;
      margin: 0;
      padding: 0;

      li {
        float: left;
        margin-right: 20px;
      }
    }

    span.last-answer-date {
      margin-left: 10px;
    }

    .marked-as-spam {
      color: @textOrange;
    }
  }

  .summary {
    margin: 0 0 10px 0;
  }

  .user-meta {
    float: left;
    font-size: 12px;
    margin: 0 20px 20px 0;
    width: 110px;

    .asked-by {
      margin-bottom: 25px;

      .answers,
      .solutions {
        display: block;
      }

      .solutions {
        font-weight: bold;
      }

      .karma-titles {
        list-style: none;
        margin: 0;
        padding: 0;

        li {
          background: #fff;
          text-transform: uppercase;
          margin: 10px 0;
          padding: 5px;
        }
      }
    }
  }

  .question-tools {
    margin: 0 0 20px 130px;
    padding: 0 20px 0 0;
    text-align: right;

    .btn {
      margin: 10px 0;
    }

    .me-too {
      float: left;

      .btn {
        margin: 0;
      }
    }

    p {
      text-align: left;
    }
  }

  .report {
    margin-bottom: 20px;

    input,
    select {
      display: none;
    }

    .link-btn,
    .link-btn:visited,
    .link-btn:hover {
      color: @textLightGrey;
      display: block;
      float: right;
      font-size: 12px;
      text-transform: uppercase;
    }
  }

  .sidebar-nav {
    margin-bottom: 20px;

    &.condensed {
      margin-bottom: 0;
    }
  }

  .sidebox {
    margin-bottom: 20px;

    &.condensed {
      margin-bottom: 0;
    }
  }

  #details-submit {
    display: none;
  }

  #question-details {
    select {
      box-sizing: border-box;
      display: none;
      width: 100%;
    }

    &.editing {
      select {
        display: block;
      }

      .detail {
        display: none;
      }

      #details-submit {
        display: block;
      }

      #details-edit {
        display: none;
      }
    }
  }

  #question-reply {
    &:before {
      display: none;
    }

    textarea {
      margin-top: 10px;
      width: 100%;
      height: 400px;
      font-size: 16px;
    }

    .editor-tools {
      background: transparent;
    }
  }

  .system-details {
    text-transform: uppercase;

    ul {
      list-style: none;
      margin: 0;
      padding: 0;

      li {
        margin-bottom: 2px;
      }
    }
  }

  #tags {
    text-transform: uppercase;

    button {
      background: transparent;
      border: 0;
      color: @textDarkOrange;
      cursor: pointer;
      margin: 0 0 0 5px;
      outline: none;
      padding: 0;
    }

    ul {
      list-style: none;
      margin: 0 0 12px 0;
      padding: 0;

      li {
        float: left;
        margin-right: 12px;

        a,
        a:visited,
        a:hover {
          color: @textGrey;
        }
      }

      &.immutable {
        button {
          display: none;
        }
      }
    }

    .btn {
      float: right;
    }

    .searchbox {
      display: block;
      margin-bottom: 12px;
      width: 140px;
    }
  }

  #related-content {
    li {
      text-transform: none;

      &.related-question,
      &.related-document {
        > a {
          padding-left: 58px;
          position: relative;

          &:before {
            background: url('../img/search-icons-sprite.png') no-repeat -23px -23px;
            background-size: 74px 148px;
            content: '';
            height: 28px;
            left: 20px;
            position: absolute;
            top: 12px;
            width: 28px;
          }
        }
      }

      &.related-question {
        > a {
          &:before {
            background-position: -23px -97px;
          }
        }
      }
    }
  }

  #vote-thanks-kbox {
    text-align: left;

    input#id_email {
      width: 230px;
    }
  }

  #more-system-details-kbox {
    margin-left: -115px;
    width: 720px;

    h1 {
      display: none;
    }

    h2 {
      font-size: 20px;
      font-weight: normal;
      margin: 15px 0 5px;
    }

    p,
    li {
      color: @textGrey;
      list-style: none;
      margin: 0;
    }

    div.about-support {
      ul {
        padding-left: 60px;
        li {
          list-style: disc;

          &.inactive {
            opacity: 0.5;
          }

          .key {
            font-weight: bold;
          }
        }
      }
    }

    div.plugins {
      li {
        background: transparent url(../img/questions/icon.plugin.gif) no-repeat 0 4px;
        padding: 2px 0 2px 25px;
      }
    }

    .bottom-close {
      margin: 10px 0 0;
      text-align: right;
    }
  }

  #email-subscribe-kbox {
    left: -150px;
    text-transform: none;
    top: 20px;
    width: 330px;

    ul.errorlist {
      margin: 0;
      padding: 0;

      li {
        margin: 0;
        padding: 0;
      }
    }

    a {
      padding: 0;
    }

    input#id_email {
      width: 270px;
    }

    form {
      ul {
        list-style: none;
        margin: 0;
        padding: 10px 0;
      }
    }
  }

  #report-abuse {
    margin-bottom: 20px;
  }
}

.highlight-box {
  h2 {
    margin: 0 0 20px;
  }

  .select-one {
    list-style: none;
    margin: 0;
    padding: 0;

    li {
      font-family: @OpenSansLight;
      font-size: 20px;
      margin: 10px 0;
    }
  }
}

.logo-sprite {
  height: 96px;
  width: 96px;
}

.logo-sprite-tiny {
  background-size: 42px;
  height: 16px;
  width: 16px;
}

.questions {
  list-style: none;
  margin: 0;
  padding: 0;

  > section {
    border-bottom: 1px solid #000;
    margin: 0 20px 20px 0;
    padding: 20px;
    position: relative;

    h2 {
      font-size: 22px;
      font-weight: bold;
      margin: 4px 0 0;

      a {
        color: #000;

        &:hover,
        &:visited {
          text-decoration: underline;
        }
      }
    }

    h3 {
      font-size: 13px;
      margin: 0 0 4px;
      font-weight: bold;

      a:visited {
        color: #0095DD
      }
    }

    .content {
      margin: 0 0 0 30px;
      min-height: 130px;
      padding: 0;

      > p {
        border-bottom: 1px solid #f3f3f3;
        margin-bottom: 10px;
        padding-bottom: 10px;
      }

      .tag-list {
        display: block;
        font-size: 0;
        list-style: none;
        margin: 10px 0 0;
        padding: 0;

        > li {
          font-size: 14px;
          display: inline-block;
          margin: 0 3px 3px 0;

          &:last-of-type {
            margin: 0;
          }

          > a,
          > a:visited {
            background: #f3f3f3;
            border: 1px solid #f3f3f3;
            color: #000;
            display: inline-block;
            padding: 2px 5px;

            &:hover {
              border-color: #000;
              color: #000;
              text-decoration: none;
            }
          }
        }
      }

      .short-text,
      .long-text {
        margin-bottom: 32px;
        min-height: 60px;
      }

      .user-meta {
        font-size: 12px;
        position: relative;
      }

      .user-meta-asked-by,
      .user-meta-answered-by {
        float: left;
        width: calc(50% - 10px);

        a,
        a:visited {
          font-family: @ZillaSlab;
          font-size: 14px;
          font-weight: bold;
          color: #000;
        }

        a:hover {
          color: #000;
          text-decoration: underline;
        }
      }

      .user-meta-asked-by {
        padding-right: 10px;
      }

      .user-meta-answered-by {
        padding-left: 10px;
      }
    }

    .thread-meta {
      background: #fff;
      left: 0;
      overflow: hidden;
      padding: 0 6px;
      position: absolute;
      top: 0;
      width: 18px;

      &:hover {
        border-bottom: 1px solid @borderLightGrey;
        border-right: 1px solid @borderLightGrey;
        width: auto;
      }

      > div {
        background: @iconsSprite 0 0 no-repeat;
        color: #ccc;
        font-size: 11px;
        height: 18px;
        line-height: 18px;
        margin: 6px 0;
        padding: 0 0 0 24px;
        text-transform: uppercase;

        &.highlighted {
          color: @textGrey;
        }

        &.thread-contributed {
          background-position: -48px -977px;

          &.highlighted {
            background-position: -48px -1093px;
          }
        }

        &.thread-locked {
          background-position: -49px -2253px;
        }

        &.thread-archived {
          background-position: -49px -2369px;
        }

        &.thread-solved {
          background-position: -49px -746px;

          &.highlighted {
            background-position: -49px -862px;
          }
        }
      }
    }

    .question-meta {
      font-size: 14px;
      margin: 0 0 20px 30px;

      > div {
        display: inline-block;
        margin-right: 60px;

        &:last-child {
          margin-right: 0;
        }
      }

      h4 {
        border-right: 1px solid #f3f3f3;
        display: inline-block;
        font-size: 16px;
        font-weight: bold;
        padding-right: 20px;
        margin: 0 20px 0 0;
      }

      &.urgent {
        h4 {
          color: #fe9300;
        }
      }
    }
  }

  #filters {
    margin-bottom: 20px;
    padding: 20px 34px;

    #more-filters {
      border-right: 1px dotted @borderLightGrey;
      float: left;
      width: 78.5%;

      .cf {
        margin-bottom: 10px;

        &:last-of-type {
          margin-bottom: 0;
        }

        > span {
          float: left;
          font-weight: bold;
        }

        > ul {
          float: left;
          list-style: none;
          margin: 0;
          padding: 0;

          > li {
            border-left: 1px solid @textGrey;
            float: left;
            margin-right: 10px;
            padding-left: 10px;

            &:first-of-type {
              border: none;
            }

            a,
            a:hover {
              color: @textGrey;

              &.selected {
                color: #000;
                font-weight: bold;
                text-decoration: none;
              }
            }

            label {
              cursor: pointer;
            }
          }
        }
      }
    }

    #flag-filter {
      box-sizing: border-box;
      float: right;
      padding-left: 25px;
      width: 21%;
    }
  }

  // this is just for vertical spacing on the page...
  #filter-section {
    height: 40px;
  }

  #owner-tabs {
    border-bottom: 1px solid #dbdbdb;
    margin-right: 20px;

    a {
      border-bottom: 1px solid transparent;
      color: rgba(0, 0, 0, 0.5);
      float: left;
      font-size: 16px;
      font-weight: bold;
      height: 52px;
      line-height: 36px;
      margin-right: 6px;
      padding: 0 48px 10px 0;
      text-decoration: none;

      &:hover {
        border-bottom-color: #000;
        color: #000;
      }

      &:last-child {
        margin-right: 0;
      }

      &.selected {
        border-bottom-color: #000;
        color: #000;
      }

      > svg {
        display: block;
        height: 24px;
        width: auto;
      }
    }
  }

  #top-contributors {
    position: relative;
    text-align: center;
    z-index: 20;

    ol {
      display: inline-block;
      width: 35%;

      li {
        margin: 5px 0;
      }
    }

    .inner-wrap {
      border: 1px solid #000;
      display: none;
      font-size: 14px;
      text-align: left;
    }

    &:hover {
      .inner-wrap {
        background: #fff;
        color: #000;
        display:block;
        position: absolute;
        right: -1px;
        top: 100%;
        width: 360px;
      }
    }
  }

  .escalated,
  .offtopic {
    display: none;
  }
}

.show-escalated {
  .escalated {
    display: block;
  }
}

.show-offtopic {
  .offtopic {
    display: block;
  }
}

#aaq_progress {
  margin: 0 78px 60px;

  .legend {
    display: flex;
    color: @textGrey;
    font-size: 12px;
    font-weight: normal;
    line-height: 16px;
    list-style: none;
    margin: 5px 0;
    padding: 0;
    position: relative;
    z-index: 0;

    li {
      width: 33.3%;
      margin: 0;
      position: relative;
      text-align: left;

      &.current {
        font-weight: bold;
      }

      span {
        display: block;
        max-width: 140px;
      }

      &:before {
        border-left: 1px solid rgba(0, 0, 0, 0.1);
        border-right: 1px solid rgba(255, 255, 255, 0.5);
        content: '';
        height: 24px;
        left: 0;
        position: absolute;
        top: -34px;
        width: 0;
      }

      &:first-of-type,
      &:last-of-type {
        &:before {
          display: none;
        }
      }
    }
  }

  .progress-bar {
    height: 8px;

    > div {
      height: 8px;
      min-width: 12px;
    }

    .legend {
      li:before {
        height: 8px;
        top: -13px;
      }
    }
  }
}

#ask-search-form {
  .btn {
    float: right;
  }

  .searchbox {
    float: left;
    font-size: 16px;
    height: 42px;
    margin: 0 10px 0 12px;
    padding: 4px 20px 8px 20px;
    padding-bottom: 8px;
    padding-top: 4px;
    width: 746px;
  }

  &.has-searched {
    .searchbox {
      width: 876px;
    }

    .btn {
      display: none;
    }
  }
}

#recent-stats {
  font-size: 13px;
  margin: 0 0 40px 0;

  .no_reply {
    margin: 0 6px;
  }

  .progress-bar {
    margin-top: 10px;
  }

  .complete {
    > div {
      background: #489615;
      background: linear-gradient(to bottom, #84C63C, #489615);
    }
  }

  .total {
    float: right;
    margin: 0 6px;
    padding-left: 50px;
  }
}

#aaq_progress + #register-form {
  margin-top: 40px;
}

#register-form,
#login-form {
  background: #fff;
  box-sizing: border-box;
  margin-bottom: 60px;
  padding: 0 60px 30px;

  fieldset {
    border: 0;
    margin: 0;
    padding: 0;
  }

  h2 {
    margin-bottom: 0;

    + h4 {
      margin-bottom: 10px;
      margin-top: 5px;
    }
  }

  label {
    font-size: 12px;
    font-weight: bold;
  }

  form {
    ul {
      list-style: none;
      margin: 10px 0;
      padding: 0;

      > li {
        min-height: 100px;
      }

      input {
        box-sizing: border-box;
        padding: 10px;
        width: 45%;
      }

      label {
        display: block;
        margin: 10px 0;
      }
    }
  }

  h2 {
    font-size: 26px;
  }

  .submit {
    .btn {
      box-sizing: border-box;
      height: 45px;
      margin-top: 20px;
      width: 45%;
    }
  }

  .validation-label {
    box-sizing: border-box;
    color: #c00;
    display: none;
    float: right;
    margin-top: 10px;
    padding-left: 16px;
    width: 55%;

    &:before {
      content: '\2718'; /* X mark */
      margin-right: 10px;
    }

    &.valid {
      color: #090;

      &:before {
        content: '\2713'; /* Check mark */
      }
    }

    a.ignore-email {
      margin-left: 10px;
    }
  }
}

#show-login {
  text-align: center;
}

#login-form {
  display: none;
}

#login-help {
  margin-top: 10px;
}

#username-rules,
#password-rules {
  font-size: 12px;
  width: 45%;
}

#product-picker {
  > li {
    min-height: 156px;

    > a,
    > a:visited,
    > a:hover {
      color: @textGrey;

      > img {
        float: left;
        margin: 8px 15px 8px 0;
      }

      > span {
        display: block;
        margin-left: 130px;

        &.title {
          display: block;
          font-family: @OpenSansLight;
          font-size: 22px;
          letter-spacing: -1px;
          line-height: 22px;
          margin: 0 0 12px 99px;
        }

        &.description {
          display: block;
          margin: 0 0 0 99px;
        }
      }
    }
  }
}

#question-form {
  h2 {
    margin-bottom: 0;

    + p {
      font-family: @OpenSans;
      margin-top: 5px;
    }
  }

  .info {
    background: #f1f1f1;
    border-left: 2px solid @textBlue;
    font-size: 13px;
    padding: 16px;
  }

  ul {
    list-style: none;
    margin: 0;
    padding: 0;

    input {
      width: 700px;
    }

    label {
      display: block;
      font-size: 12px;
      font-weight: bold;
      margin-bottom: 5px;

      &[for="id_troubleshooting"] {
        float: left;
        margin-right: 10px;
        margin-top: 6px;
      }
    }

    input[type="text"],
    textarea {
      box-sizing: border-box;
      width: 100%;
    }

    li {
      .cf();
      padding: 10px 0;

      &.details {
        display: none;

        input {
          width: auto;
        }
      }

      &.hide {
        .show {
          display: none;
        }
      }

      &.show {
        .hide {
          display: none;
        }
      }
    }

    &.show-details {
      li {
        &.details {
          display: block;
        }
      }
    }

    .editor-tools {
      display: none;
    }

    .submit {
      .btn {
        margin-left: 140px;
      }
    }

    #troubleshooting-manual,
    #troubleshooting-explanation {
      clear: both;
      font-size: 13px;
      margin: 10px 0;
    }
  }

  button {
    margin-top: 30px;
  }

  ol#troubleshooting-help {
    display: none;
    font-size: 13px;
    list-style: decimal;
    margin: 0;

    li {
      padding: 5px 0;

      &:before {
        display: block;
      }

      ul {
        margin: 0 0 0 10px;
        padding: 0px;
      }
    }
  }

  #troubleshooting-explanation {
    display: none;
  }

  #troubleshooting-field {
    display: none;
  }
}

#selected-category,
#selected-product {
  font-size: 14px;
  margin-bottom: 10px;

  a {
    font-size: 12px;
  }

  label {
    font-family: @OpenSansLight;
  }

  span {
    font-weight: bold;
  }
}

#selected-category {
  float: right;
}

#selected-product {
  float: left;
}

#product-topic-changer {
  margin-top: 25px;
}

.answers {
  .attachments-upload {
    margin: 1.5em 0 1.5em 128px;
  }
}
.attachments-upload {
  label {
    display: block;
    margin: .5em 0;
  }

  .adding-attachment {
    display: none;
    line-height: 4em;
  }

  .empty,
  .upload-progress {
    display: none;
  }

  .attachments {
    a:hover {
      img {
        border: 1px solid #eee;
      }
    }
  }

  .attachment {
    display: inline-block;
    position: relative;

    .overlay {
      background: #ccc url('../img/wait-trans.gif') no-repeat center;
      bottom: 5px;
      left: 5px;
      opacity: .5;
      position: absolute;
      right: 5px;
      top: 5px;
    }

    img {
      background: url('../img/wait-trans.gif') no-repeat center;
      border: 1px solid #ccc;
      margin: 5px;
      text-align: center;
      vertical-align: top;
    }

    input.delete {
      background: #000;
      border: 2px solid #fff;
      border-radius: 1em;
      color: #fff;
      cursor: pointer;
      display: none;
      font-family: Verdana;
      font-weight: bold;
      opacity: .5;
      padding: 0 .2em;
      position: absolute;
      right: 10px;
      top: 10px;
      max-width: 24px;

      &:hover {
        opacity: 1;
      }
    }

    &:hover input.delete {
      display: block;
    }
  }

  .upload-progress {
    background: url('../img/wait-trans.gif') no-repeat center;
    border: 1px solid #ccc;
    margin: 5px;
    text-align: center;
    vertical-align: top;

    &.show {
      display: inline-block;
    }
  }

  .add-attachment {
    noscript {
      input {
        margin-left: 1em;
      }
    }
  }

  input.image-delete {
    margin-top: 1em;
  }

  img {
    max-height: 120px;
    max-width: 120px;
  }
}

div.ans-attachments {
  padding: 10px 15px 0 10px;

  a:hover {
    img {
      border: 1px solid #eee;
    }
  }

  .attachment {
    display: inline-block;
    position: relative;

    .overlay {
      background: #ccc url('../img/wait-trans.gif') no-repeat center;
      bottom: 5px;
      left: 5px;
      opacity: .5;
      position: absolute;
      right: 5px;
      top: 5px;
    }

    img {
      background: url('../img/wait-trans.gif') no-repeat center;
      border: 1px solid #ccc;
      margin: 5px;
      text-align: center;
      vertical-align: top;
    }

    input.delete {
      background: #000;
      border: 2px solid #fff;
      border-radius: 1em;
      color: #fff;
      cursor: pointer;
      display: none;
      font-family: Verdana;
      font-weight: bold;
      opacity: .5;
      padding: 0 .2em;
      position: absolute;
      right: 10px;
      top: 10px;

      &:hover {
        opacity: 1;
      }
    }

    &:hover input.delete {
      display: block;
    }
  }

  img {
    max-height: 120px;
    max-width: 120px;
  }
}


#image-attachment-kbox {
  img {
    max-width: 100%;

    &.loading {
      background: transparent url(../img/wait-trans.gif) no-repeat center center;
      display: block;
      height: 32px;
      margin: auto;
      width: 32px;
    }
  }
}

.feature-box {
  margin: 0;
  padding: 10px 30px;

  h2 {
    font-size: 21px;
  }

  a& {
    color: #fff;
    display: block;
  }
}

.edit-answer {
  .form-widget {
    width: 600px;
  }

  .form-widget,
  .info,
  .submit {
    margin: 20px 0 20px 128px;
  }

  textarea {
    width: 592px;
  }
}

#product-selector,
#topic-selector {
  float: right;
  font-size: 12px;
  margin-left: 10px;

  > select {
    padding: 2px;
    width:  300px;
  }
}

.edit-question {
  #add-troubleshooting-info,
  #troubleshooting-manual {
    display: none;
  }

  li.system-details-info {
    display: none;
  }

  #question-form {
    li.details {
      display: block;
    }
  }
}

#tagged {
  ul {
    display: inline;
    list-style: none;
    margin: 0;
    padding: 0;

    > li {
      display: inline;
      margin-right: 10px;
    }
  }
}

.questions-sidebar {
  position: relative;

  .toggler {
    > span {
      border-radius: 2px;
      cursor: pointer;
      display: block;
      height: 28px;
      position: absolute;
      right: 0;
      top: 13px;
      width: 28px;
      z-index: 10;

      &:after {
        border-top: 2px solid #000;
        border-right: 2px solid #000;
        content: '';
        display: block;
        height: 6px;
        left: 50%;
        margin: -4px 0 0 -5px;
        position: absolute;
        top: 50%;
        transform: rotate(45deg);
        width: 6px;
      }

      &.expand {
        background: #000;
        display: none;

        &:after {
          border-color: #fff;
          margin-left: -2.5px;
          transform: rotate(-135deg);
        }
      }
    }
  }
}

#questions-list {
  &.collapsed {
    .grid_9 {
      width: 894px;
    }

    .grid_3 {
      width: 26px;

      .sidebar-header,
      .sidebar-nav {
        display: none;
      }
    }

    .questions-sidebar {
      .toggler {
        > span {
          &.expand {
            display: block;
          }

          &.collapse {
            display: none;
          }
        }
      }
    }
  }
}

.content-raw {
  display: none;
}

.help-text {
  clear: both;
}
